/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.pretorius.question1.inheritance.model;

/**
 *
 * @author griddy
 */
public class UtilityVehicle extends Vehicle{

    public UtilityVehicle(String towBar, String diffLock, int odometerReading, String make, String model, int manufactureYear) {
        super(odometerReading, make, model, manufactureYear);
        this.towBar = towBar;
        this.diffLock = diffLock;
    }

    public UtilityVehicle(int odometerReading, String make, String model, int manufactureYear) {
        super(odometerReading, make, model, manufactureYear);
    }
    
    

    
    public UtilityVehicle()
    {
        super();
    }
    
    private String towBar;
    private String diffLock;
    
     public String getDiffLock() {
        return diffLock;
    }

    public void setDiffLock(String diffLock) {
        this.diffLock = diffLock;
    }

    public String getTowBar() {
        return towBar;
    }

    public void setTowBar(String towBar) {
        this.towBar = towBar;
    }
    
}
